package com.tgy.algorithm.base._图_02;

public class Edge<V>{
    V weight;
    Node<V> from;
    Node<V> to;

    public Edge(V weight,Node<V> from,Node<V> to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
